package it.uniroma3.dia.ia.textcategorization.datasource.odpdump;

import it.uniroma3.dia.ia.textcategorization.model.Category;

final class PathUtility {
	
	static String composePath(Category category) {
		StringBuilder sb = new StringBuilder();
		for (String step : category.getSteps()) {
			sb.append(step);
			sb.append("/");
		}
		sb.delete(sb.length() - 1, sb.length());
		return sb.toString();
	}
	
}
